package cn.iocoder.yudao.module.question.convert.question;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.question.controller.admin.question.vo.*;
import cn.iocoder.yudao.module.question.dal.dataobject.question.QuestionDO;

/**
 * 试题信息 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface QuestionConvert {

    QuestionConvert INSTANCE = Mappers.getMapper(QuestionConvert.class);

    QuestionDO convert(QuestionCreateReqVO bean);

    QuestionDO convert(QuestionUpdateReqVO bean);

    QuestionRespVO convert(QuestionDO bean);

    List<QuestionRespVO> convertList(List<QuestionDO> list);

    PageResult<QuestionRespVO> convertPage(PageResult<QuestionDO> page);

    List<QuestionExcelVO> convertList02(List<QuestionDO> list);

}
